﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;

namespace pbvs.Models
{
    public class Client
    {
        [Key]
        public int ClientId { get; set; }
        public string Email { get; set; }
		[DisplayName("First Name")]
        public string FirstName { get; set; }
		[DisplayName("Last Name")]
        public string LastName { get; set; }
		[DisplayName("Company")]
        public string CompanyName { get; set; }
        public string Address { get; set; }
        public string Address2 { get; set; }
        public string City { get; set; }
        public string State { get; set; }
        public string Zip { get; set; }
        public string Phone { get; set; }
        public int LoginId { get; set; }

        public virtual ICollection<ValuationRequest> ValuationRequests { get; set; }

        [ForeignKey("LoginId")]
        public virtual Login Login { get; set; }
    }
}